package com.example.springbootlog4j.controller;

import com.example.springbootlog4j.util.StaticScheduleJob;
import org.apache.log4j.Logger;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    private static Logger log = Logger.getLogger(TestController.class);

    @RequestMapping("test")
    public String testLog(){
        log.info("testLog testLog testLog testLog testLog ");
        return "testLog";
    }
}
